package math;

public class NumberNode implements MathNode
{
    double value;
    
    public NumberNode(double value)
    {
        this.value = value;
    }

    @Override
    public String getExpressionString()
    {
        return value + "";
    }

    @Override
    public String toString()
    {
        return getClass().getName() + "<value=" + value + ">";
    }
}

